﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="LoginStatusLabel1" runat="server" Text="Вие сте логирани како: "></asp:Label>
        <asp:LoginName ID="LoginName1" runat="server" />
        <asp:LoginStatus ID="LoginStatus1" runat="server" 
            LogoutPageUrl="~/Login.aspx" />
        <br />
    </div>
    <asp:HyperLink ID="NovPlanHyperLink" runat="server" 
        NavigateUrl="~/OsnovniInfomacii.aspx">Започнете нов Бизнис План</asp:HyperLink>
    <br />
    
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:BusinessPlanDBConnectionString %>"
        SelectCommand="SELECT Documentation.projectName as БизнисПлан  FROM 
        Documentation where Documentation.projectOwner = 'elena' ">
    </asp:SqlDataSource>
    <asp:Label ID="PostoeckiPlanoviLabel" runat="server" 
        Text="Постоечки Бизнис Планови: "></asp:Label>
    <br />
    
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:CommandField ShowSelectButton="True" />
            <asp:BoundField DataField="БизнисПлан" HeaderText="БизнисПлан" 
                SortExpression="БизнисПлан" />
            
        </Columns>
    </asp:GridView>
    
    <br />
    </form>
</body>
</html>
